interface Router {
    path: string;
    name: string;
    component?: any;
    meta: {
        title?: string;
        icon?: string;
        hidden?: boolean;
        activeMenu?: string;
        isLink?: string;
        isHide?: boolean;
        isFull?: boolean;
        isAffix?: boolean;
        isKeepAlive?: boolean;
        iconSize?: number;
    };
    children?: Array<Router>;
}
const routerData: Array<Router> = [
    {
        path: "/dashboard",
        name: "dashboard",
        component: () => import("@/views/index/index.vue"),
        meta: {
            title: "首页",
            icon: "Odometer",
            hidden: false,
            activeMenu: "",
            isLink: "",
            isHide: false,
            isFull: false,
            isAffix: true,
            isKeepAlive: true,
        },
    },
    {
        path: "/base",
        name: "base",
        component: () => import("@/views/base/base.vue"),
        meta: {
            title: "基地管理",
            icon: "MapLocation",
            hidden: false,
            activeMenu: "",
            isLink: "",
            isHide: false,
            isFull: false,
            isAffix: true,
            isKeepAlive: true,
        },
    },
    {
        path: "/authentication",
        name: "authentication",
        // component: () => import("@/views/exploit/exploit.vue"),
        meta: {
            title: "认证管理",
            icon: "Postcard",
            hidden: false,
            activeMenu: "",
            isLink: "",
            isHide: false,
            isFull: false,
            isAffix: true,
            isKeepAlive: true,
        },
        children: [
            {
                path: "/authentication/personalcertificate",
                name: "personalcertificate",
                component: () => import("@/views/exploit/exploit.vue"),
                meta: {
                    title: "个人认证",
                    icon: "User",
                    hidden: false,
                    activeMenu: "",
                    isLink: "",
                    isHide: false,
                },
            },
            {
                path: "/authentication/teamcertification",
                name: "teamcertification",
                component: () => import("@/views/exploit/exploit.vue"),
                meta: {
                    title: "团队认证",
                    icon: "OfficeBuilding",
                    hidden: false,
                    activeMenu: "",
                    isLink: "",
                    isHide: false,
                },
            },
        ],
    },
    {
        path: "/user",
        name: "user",
        component: () => import("@/views/exploit/exploit.vue"),
        meta: {
            title: "用户管理",
            icon: "User",
            hidden: false,
            activeMenu: "",
            isLink: "",
            isHide: false,
            isFull: false,
            isAffix: true,
            isKeepAlive: true,
        },
    },
    {
        path: "/system",
        name: "system",
        // component: () => import("@/layout/index.vue"),
        meta: {
            title: "系统设置",
            icon: "Setting",
            hidden: false,
            activeMenu: "",
            isLink: "",
            isHide: false,
            isFull: false,
            isAffix: true,
            isKeepAlive: true,
        },
        children: [
            {
                path: "/system/menu",
                name: "menu",
                component: () => import("@/views/exploit/exploit.vue"),
                meta: {
                    title: "菜单管理",
                    icon: "Menu",
                    hidden: false,
                    activeMenu: "",
                    isLink: "",
                    isHide: false,
                    isFull: false,
                    isAffix: true,
                    isKeepAlive: true,
                },
            },
        ],
    },
    {
        path: "/platform",
        name: "platform",
        // component: () => import("@/views/index/index.vue"),
        meta: {
            title: "平台管理",
            icon: "Monitor",
            hidden: false,
            activeMenu: "",
            isLink: "",
            isHide: false,
            isFull: false,
            isAffix: true,
            isKeepAlive: true,
        },
        children: [
            {
                path: "/platform/position",
                name: "position",
                component: () => import("@/views/platform/position.vue"),
                meta: {
                    title: "岗位权限",
                    icon: "PriceTag",
                    hidden: false,
                    activeMenu: "",
                    isLink: "",
                    isHide: false,
                    isFull: false,
                    isAffix: true,
                    isKeepAlive: true,
                },
            },
        ],
    },
];
export default routerData;
